<%--
  Created by IntelliJ IDEA.
  User: Gauss
  Date: 20.05.13
  Time: 12:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="sky" uri="/WEB-INF/custom.tld" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="resources/style1.css" />
    <link rel="stylesheet" type="text/css" href="resources/header.css" />
    <link rel="stylesheet" type="text/css" href="resources/flightInfo.css" />
    <link rel="stylesheet" type="text/css" href="resources/style.css" />
    <script src="resources/jquery-2.0.0.js"></script>
    <script src="resources/script.js" ></script>
    <script src="resources/flightInfo.js"></script>
</head>
<body>
<div id="wrapper">
    <sky:include url="components/header.jsp"/>
    <div id="page">
        <div id="content">
            <div class="post">
                <c:set var="step" value="1" scope="request" />
                <jsp:include page="components/bookingSteps.jsp" />
                    <form:form commandName="flightCriteria" cssClass="form1">
                        <div class="left">
                            <p><spring:message code="flightInfo.city" />:
                                <form:input path="departureCity" />
                            </p>
                            <p><spring:message code="flightInfo.DepDate"/>:</p>
                            <p><spring:message code="label.s" />:
                                <form:input path="departureFromDate" />
                            </p>
                            <p><spring:message code="label.po" />:
                                <form:input path="departureToDate" />
                            </p>
                        </div>
                        <div class="right">
                            <p><spring:message code="flightInfo.city" />:
                                <form:input path="destinationCity" />
                            </p>
                            <p><spring:message code="flightInfo.DesDate" />:</p>
                            <p><spring:message code="label.s" />:
                                <form:input path="destinationFromDate" />
                            </p>
                            <p><spring:message code="label.po" />:
                                <form:input path="destinationToDate" />
                            </p>
                        </div>
                        <div class="sub" style="padding-top: 20px; width: 200px">
                            <p><spring:message code="bookingCriterias.ticketType" />:
                                <form:select path="ticketType">
                                    <form:option value="Econom" />
                                    <form:option value="Bussiness" />
                                    <form:option value="FirstClass" />
                                </form:select>
                            </p>
                            <p><spring:message code="bookingCriterias.ticketCount" />:
                                <form:select path="ticketCount">
                                    <c:forEach var="i" begin="1" end="4" step="1">
                                        <form:option value="${i}" />
                                    </c:forEach>
                                </form:select>
                            </p>
                            <p><spring:message code="bookingCriterias.priceRange" />:</p>
                            <p><spring:message code="label.ot" />: <form:input path="priceFrom" /></p>
                            <p><spring:message code="label.do" />: <form:input path="priceTo" /></p>
                        </div>
                        <input type="submit" value="Подобрать" style="float: right"/>
                    </form:form>
            </div>
            <div style="clear: both;">&nbsp;</div>
        </div>
        <!-- end #content -->
        <jsp:include page="components/sidebar.jsp" />
        <!-- end #sidebar -->
        <div style="clear: both;">&nbsp;</div>
    </div>
</div>
<div id="footer-content">&copy; Кси</div>
<div id="footer"></div>
</body>
</html>